﻿using System;
using System.Collections.Generic;
using System.Runtime.CompilerServices;

namespace GCNF.Algorithm.MinimumActivity
{
    internal class Program
    {
        static void Main(string[] args)
        {
            AbstractLeastActive abstractLeastActive = new LeastActive();
            abstractLeastActive.keyValuePairs.TryAdd("http://localhost:8080", 0);
            abstractLeastActive.keyValuePairs.TryAdd("http://localhost:8081", 0);

            //abstractLeastActive.FilterMinValue();
            //abstractLeastActive.list.ForEach(s => {
            //    Console.WriteLine(s);
            //});
            //Console.WriteLine($"随机地址：{abstractLeastActive.RandomValue()}");
        }
    }
}
